choose random file from directory

30

choose random file from directory -

import os, random
random.choice(os.listdir("C:\\")) #change dir name to whatever

Comments

Submit
0 Comments